package com.yupi.apiinterface.utils;

import cn.hutool.crypto.digest.DigestAlgorithm;
import cn.hutool.crypto.digest.Digester;
import com.yupi.apiclientautocongigura.Body;

public class SingUtils {
    public static String getSign(String name, String secretKey){
        Digester md5 = new Digester(DigestAlgorithm.MD5);

        String testStr = name+"."+secretKey;
        String digestHex = md5.digestHex(testStr);
        return digestHex;
    }
}
